package com.amado.course41Annotation.homework;

import java.util.Date;

public class Goods {
	@PrintAnnotation(desc="主键")
	private Long id;
	@PrintAnnotation(desc="商品名称")
	private String goodsName;
	@PrintAnnotation(desc="分类")
	private String cate;
	@PrintAnnotation(desc="价格")
	private Integer price;
	@PrintAnnotation(desc="删除标识")
	private String deleteFlag = "N";
	@PrintAnnotation(desc="创建时间")
	private Date craeteTime = new Date();

	public Goods(Long id, String goodsName, String cate, Integer price) {
		super();
		this.id = id;
		this.goodsName = goodsName;
		this.cate = cate;
		this.price = price;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getCate() {
		return cate;
	}

	public void setCate(String cate) {
		this.cate = cate;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public Date getCraeteTime() {
		return craeteTime;
	}

	public void setCraeteTime(Date craeteTime) {
		this.craeteTime = craeteTime;
	}

}
